namespace('base.employee');

base.employee.init = function(){
	$('.delete').click(function(){
		$('#btnConfirmDeleteEmployee').attr('employeeId', $(this).attr('employeeId'));
		$('#modalConfirmDeleteEmployee').modal({});
	});
	
	$('#btnConfirmDeleteEmployee').click(function(){
		toLocation('base/employee/employee!delete.action?id=' 
				+ $(this).attr('employeeId'));
	});
};